package com.quantumoctopus.magiceatball;

import java.util.ArrayList;
import java.util.HashMap;

public class Question {

	private String Text;

	// Answer, AnswerEffect; for example: "Yes", "&term=Burrito"
	private ArrayList<String> Answers = new ArrayList<String>();
	private HashMap<String, String> AnswersMap = new HashMap<String, String>();

	public String getText() {
		return Text;
	}

	public void setText(String text) {
		Text = text;
	}

	public void addAnswer(String Answer) {
		Answers.add(Answer);
	}

	public String getAnswer(int i) {
		return Answers.get(i);
	}

	public void addAnswerMap(String Answer, String AnswerEffect) {
		AnswersMap.put(Answer, AnswerEffect);
	}

	public String getAnswerEffect(String Answer) {
		return AnswersMap.get(Answer);
	}

	public int getCount() {
		return Answers.size();
	}
}
